import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'normalize.css'
import './style/base.scss'
import './style/iconfont.css'

console.log('启动环境,是否mock:', process.env.VUE_APP_MOCK)
console.log('启动环境,APP_URL:', process.env.VUE_APP_SERVER_URL)
console.log(process.env.VUE_APP_MOCK === 'true')
if (process.env.VUE_APP_MOCK === 'true') {
  console.log('引入mockjs')
  require('@/mock')
}

createApp(App).use(store).use(router).mount('#app')
